package com.hyjx.framework.component.codetable;

import com.hyjx.framework.orm.IBaseModel;

/**
 * 数据表 代码表—从表对象
 */
public class CodetableModel implements IBaseModel{
    private String code;//代码
    private String name;//名称
    private String parentcode;//父代码标识
    private String orderid;//顺序号
    private String codetable;//代码表标识
    private String validflag;//是否有效1有效2无效
    private String old_code;

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return this.code;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return this.name;
    }

    public void setParentcode(String parentcode) {
        this.parentcode = parentcode;
    }

    public String getParentcode() {
        return this.parentcode;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }

    public String getOrderid() {
        return this.orderid;
    }

    public void setCodetable(String codetable) {
        this.codetable = codetable;
    }

    public String getCodetable() {
        return this.codetable;
    }

    public void setValidflag(String validflag) {
        this.validflag = validflag;
    }

    public String getValidflag() {
        return this.validflag;
    }

    public String getOld_code() {
        return old_code;
    }

    public void setOld_code(String old_code) {
        this.old_code = old_code;
    }
    
    @Override
    public String getModuleName() {
        return "com.hyjx.framework.component.codetable";
    }
}